import vue from '@vitejs/plugin-vue'
import createAutoImport from './auto-import'
import createUseComponents from './auto-use-components'

// 默认的一些设置
export default function createVitePlugins() {
  const vitePlugins = [vue()]
  vitePlugins.push(createAutoImport())
  vitePlugins.push(createUseComponents())
  return vitePlugins
}
